Brokerage Calculator
Request to be POSTed to uri : /NorenWClientAPI/GetBrokerage
Request Details :
| Parameter Name | Possible value | Description |
|---|---|---|
| jData* | Should send json object with fields in below list |
| Json Fields | Possible value | Description |
|---|---|---|
| uid* | User Id | |
| actid* | Account Id | |
| exch* | Exchange Segment | |
| tsym* | Trading Symbol | |
| qty* | Quantity | |
| prc* | Price | |
| prd* | Product | |
| trantype* | Transaction Type |
Example:
curl --location 'https://api.kambala.co.in/NorenWClientAPI/GetBrokerage' \
--header 'Content-Type: text/plain' \
--header 'Authorization: Bearer ab2f4117bce53f6b6900c73eebe520468ceea148a3bc4423a973514150f3c415' \
--data 'jData={"uid":"DEMO","actid":"DEMO", "exch":"NSE", "tsym":"ACC-EQ","qty":"10","prc":"100","prd":"I","trantype":"B"}
Response Details :
Response data will be in json format with below fields.
| Json Fields | Possible value | Description |
|---|---|---|
| request_time | This will be present only in a successful response. | |
| stat | Ok or Not_Ok | success or failure message. |
| brkage_amt | Brokerage Amount | |
| stt_amt | STT/CTT Amount | |
| exch_chrg | Exchange Charges | |
| sebi_chrg | SEBI Charges | |
| stamp_duty | Stamp Charges | |
| clr_chrg | Clearing Charges | |
| gst | GST | |
| tot_chrg | Total charges | |
| remarks | Remarks | |
| url | Url | |
| ipft_amt | IPFT charges amount | |
| cm_amt | CM charges amount |
Sample Success Response :
{
request_time: 11:36:43 27-12-2022,
stat: Ok,
brkage_amt: 0.00,
stt_amt: 2.00,
exch_chrg: 0.09,
sebi_chrg: 0.01,
stamp_duty: 0.37,
clr_chrg: 0.00,
gst: 0.02,
tot_chrg: 2.49,
remarks: 2,
url: matsya.kambala.co.in
}
Sample Failure Response :
{
"stat":"Not_Ok",
"emsg":"Invalid Input : jData is Missing."
}